package com.es.demo.vo;

import java.util.List;

/**
 * 作用:
 * 人物实体类
 *
 * @author simon
 * @create 6/28/17 1:13 PM
 */
public class Person {
    private Long id;
    private String name;
    private int age;
    private boolean man;
    private String address;
    private List<String> interests;


    public Person() {
    }


    public Person(Long id, String name, int age, boolean man, String address, List<String> interests) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.man = man;
        this.address = address;
        this.interests = interests;
    }

    public Person(String name, int age, boolean man, String address, List<String> interests) {
        this.name = name;
        this.age = age;
        this.man = man;
        this.address = address;
        this.interests = interests;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public boolean isMan() {
        return man;
    }

    public void setMan(boolean man) {
        this.man = man;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public List<String> getInterests() {
        return interests;
    }

    public void setInterests(List<String> interests) {
        this.interests = interests;
    }
}
